﻿using System;
using Bot.Domain.Enum;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;

namespace Bot.Application.Dto.AgentBot
{
    public class Suggestion
    {
        [JsonConverter(typeof(StringEnumConverter))]
        public EnumSuggestionType Type { get; set; }
        public object Content { get; set; }
        public float Score { get; set; }
    }

    public class CannedMessageSuggestionContent
    {
        public Guid Id { get; set; }
        public string Title { get; set; }
        public string Content { get; set; }
    }

    public class KnowledgeBaseSuggestionContent
    {
        public Guid Id { get; set; }
        public Guid ArticleId { get; set; }
        public string Title { get; set; }
        public string Content { get; set; }
        public string Url { get; set; }
        public string TextBeforeKBArticle { get; set; }
    }
    public class ChatbotSuggestionContent
    {
        public Guid Id { get; set; }
        public Guid IntentId { get; set; }
        public string IntentName { get; set; }
        public string Content { get; set; }
    }
}
